package com.example.demo.enums;

/**
 * @author zhy
 * @version 1.0.0
 * @ClassName OrderStatusEnum.java
 * @Description 订单状态枚举类
 * @createTime 2020年12月02日 14:26:00
 */
public enum OrderStatusEnum {

    CREATE_EVENT(1, "创建订单"),
    NEED_PAY(2, "待支付"),
    PAY_DONE(3, "已支付"),
    ORDER_FINISHED(4, "订单已完成"),
    ORDER_CANCEL(5, "订单已取消");

    OrderStatusEnum(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public int status;

    public String desc;
}
